<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
    <ion-navbar color="primary">
        <ion-title>2046批发</ion-title>
    </ion-navbar>
</ion-header>


<ion-content padding>
    <div class="">
        <ion-list>
            <ion-item>
                <ion-label stacked>http://</ion-label>
                <ion-input type="text" [(ngModel)]="host"></ion-input>
            </ion-item>
            <ion-item>
                <ion-label stacked>用户名</ion-label>
                <ion-input type="text" [(ngModel)]="userName"></ion-input>
            </ion-item>
            <ion-item>
                <ion-label stacked>密码</ion-label>
                <ion-input type="password" [(ngModel)]="passWord"></ion-input>
            </ion-item>
        </ion-list>
        <button ion-button (click)="login()" block>登录</button>
    </div>
</ion-content>